import java.util.Random;
public class Student {
    public void GroupInf(){
//        studentDetail();

        Random random = new Random();
        int x1 = random.nextInt(3) ;
        int y1 = random.nextInt(3) ;
        String[][] AllGroup = new String[][]{
                {"class1 group1","class1 +group2","class1+ group3"},
                {"class2 group1","class2 group2","class2 group3"},
                {"class3 group1","class3 group2","class3 group3"}};
//        int groupRandom = random.nextInt(AllGroup.length) + 1;
        System.out.println("抽中的班级和小组是：" + AllGroup[x1][y1]);
        String[][] luckygroup = new String[3][3];
        luckygroup[0][0] = "云宝 碧琪";//一般一组
        luckygroup[0][1] = " 柔柔 珍奇";
        luckygroup[0][2] = "苹果嘉儿 月亮公主";
        luckygroup[1][0] = "水王子 冰公主";
        luckygroup[1][1] = "王默 陈思思";
        luckygroup[1][2] = "舒言 叶罗丽";
        luckygroup[2][0] = "白雪公主 玲娜贝尔";
        luckygroup[2][1] = "米老鼠 唐老鸭";
        luckygroup[2][2] = "米奇 小熊维尼";
        System.out.println("抽到的人是" + luckygroup[x1][y1]);
    }


}
